///////////////////////////////////////////////////////////////////////
// File:        Scanner.h
// Description: 
// Author:      Philip Kommnick
// Created:     Thu September 10 14:40:08 CEST 2009
//
// This program is open source. For license terms, see the LICENSE file.
//
///////////////////////////////////////////////////////////////////////

#pragma once
#include "Sink.h"

class Scanner
{
public:
	Scanner(Sink &s) : dest(s) {};
    virtual void Scan(void) = 0;
	virtual bool PreTranslate(MSG &msg) { return false; };
    virtual bool IsActive(void) = 0;
    virtual void Configure(HKEY key) = 0;
protected:
	Sink &dest;
};